package scala.basic

/**
 * 变量练习
 */
object ScalaVariableTest {

  def main(args: Array[String]): Unit = {
    var name: String = "张三"
    var age: Int = 18
    var sex: Char = '男'
    println("我叫：" + name + "年龄：" + age + "性别：" + sex)

    var myName = "三体"
    var myAge = 20
    println(myName, myAge)

    var num1, num2, num3 = 100
    println(num1, num2, num3)
  }
}
